<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ include file="../include/include.jsp"%>
<title>${title}</title>
<meta name="description" content="${description}" />
<meta name="Keywords" content="${keywords}" />
<link rel="stylesheet" type="text/css" href="${cssPath}/resources/css/news.css">
</head>
<body>
	<%@ include file="../include/head.jsp"%>
	<!--#cnt 中间的内容-->
	<div id="cnt">
		<div class="cnt-wrap">
			<div class="left-cnt f-fl">
				<!--path-wrap 面包屑-->
				<div class="path-wrap">
					<div class="path">
						<span>当前位置：</span>
						<a href="${contextPath}">二手车网络超市</a>
						<span>&gt;</span>
						<a href="${glPath}/all/">二手车攻略</a>
						<span>&gt;</span>
						<span>国内市场</span>
					</div>
				</div>
				<!--path-wrap end-->
				<!--article-wrap 资讯文章-->
				<div class="article-wrap">
					${content.content}
		    		<c:if test="${not empty content.similars}">
		    		<div class="recommend">
		    		<p><span class="title">推荐阅读：</span></p>
		    		<c:forEach var="similar" items="${content.similars}">
		    			<c:if test="${similar.type==2}">
		    			<p><a href="${zxPath}/${similar.id}.html"><span>${similar.title}<span></a></p>
		    			</c:if>
		    			<c:if test="${similar.type==3}">
		    			<p><a href="${glPath}/${similar.id}.html"><span>${similar.title}<span></a></p>
		    			</c:if>
		    		</c:forEach>
		    		</div>
		    		</c:if>
					<!--分享按钮 来自百度分享-->
					<div class="bdsharebuttonbox f-fr"><a href="#" class="bds_more" data-cmd="more">&nbsp;分享到：</a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_weixin" data-cmd="weixin"></a></div>
					<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
					<!--分享按钮 end-->
					<div class="f-clear"></div>
				</div>
				<!--article-wrap end-->
				<!--article-link 上下篇链接-->
				<div class="article-link">
					<c:if test="${not empty prevContent}">
					<div class="f-fl">
						<span>上一篇：</span><a href="${glPath}/${prevContent.id}.html">${prevContent.title}</a>
					</div>
					</c:if>
					<c:if test="${not empty nextContent}">
					<div class="f-fr">
						<span>下一篇：</span><a href="${glPath}/gonglue/${nextContent.id}.html">${nextContent.title}</a>
					</div>
					</c:if>
					<div class="f-clear"></div>
				</div>
				<!--article-link end-->
			</div>
			<div class="right-cnt f-fr">
				<div class="article-wrap">
					<div class="right-hd mmche-bg">
						<span class="f-fl">热点攻略</span>
						<div class="f-clear"></div>
					</div>
					<ul class="article-list">
						<c:forEach var="article" items="${hots}" varStatus="status">
 						<li>
							<span class="f-fl list-no ${status.index<3 ? 'orange-bg' : ''}">${status.index+1}</span><a href="${glPath}/${article.id}.html" class="f-fl text-ellipsis">${article.title}</a>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--article-wrap end-->
				<!--cnt-wrap 网友都在关注-->
				<div class="cnt-wrap">
					<div class="cnt-hd-wrap">
						<h2 class="f-fl">
							网友都在关注
						</h2>
						<a href="${contextPath}/buycar/" class="more f-fr">
							更多>
						</a>
						<div class="f-clear"></div>
					</div>
					<ul class="cnt-list">
						<c:forEach var="car" items="${hotCars}" varStatus="status">
						<li ${status.last ? 'class="border-none"' : '' }>
							<div class="cnt-pro-img v-h-center">
								<a href="${contextPath}/car/${car.id}.html">
									<img src="${car.imgPath}/${car.indexMainPicName}" title="${car.online.title}" alt="${car.online.title}" width="155px" height="124px">
								</a>
							</div>
							<div class="text-ellipsis cnt-pro-name">
								<a href="${contextPath}/car/${car.id}.html">
									${car.online.title}
								</a>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								<span>${car.registerMonth}</span>&nbsp;&nbsp;<span>${car.mileage}万公里</span>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								麦麦车一口价：<span class="price-sum">
								￥${car.price}
							</span>
							</div>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--cnt-wrap end-->
			</div>
			<div class="f-clear"></div>
		</div>
	</div>
	<!--#cnt end-->
	<%@ include file="../include/foot.jsp"%>
	<script>
	$(document).ready(function(){
	});
	</script>
</body>
</html>